import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/',
            name: 'Home',
            component: () => import('../views/Home.vue')
        },
        {
            path: '/consultation',
            name: 'Consultation',
            component: () => import('../views/Consultation.vue')
        },
        {
            path: '/appointment',
            name: 'Appointment',
            component: () => import('../views/Appointment.vue')
        },
        {
            path: '/rehabilitation',
            name: 'Rehabilitation',
            component: () => import('../views/Rehabilitation.vue')
        },
        {
            path: '/profile',
            name: 'Profile',
            component: () => import('../views/Profile.vue')
        },
        {
            path: '/health-record',
            name: 'HealthRecord',
            component: () => import('../views/HealthRecord.vue')
        },
        {
            path: '/appointment-detail',
            name: 'AppointmentDetail',
            component: () => import('../views/AppointmentDetail.vue')
        }
    ]
})

export default router 